import axios from './http'
import base from './base'
import qs from 'qs'
const meeting = {
  // 代品卷
  list (params) {
    return axios.get(`${base.pro}/api/meeting/lists`, {
      params
    })
  },
  detail (params) {
    return axios.get(`${base.pro}/api/meeting/detail`, {
      params
    })
  },
  getSubmit (params) {
    return axios.get(`${base.pro}/api/meeting/launchMeeting`, {
      params
    })
  },
  postSubmit (params) {
    return axios.post(`${base.pro}/api/meeting/launchMeeting`, qs.stringify(params))
  }
}

export default meeting
